/**
 * Created with JetBrains PhpStorm.
 * User: Grom Hellscream
 * Date: 11/9/12
 * Time: 6:43 AM
 * To change this template use File | Settings | File Templates.
 */
window.addEvent('domready', function() {
    document.formvalidator.setHandler('tenkhoi',
        function (value) {
            regex=/^(\w*)(\s*)(.*){1,128}$/;
            return regex.test(value);
        });
});
